#ifndef __DRV_LED_H
#define __DRV_LED_H
#include <stdbool.h>
#include "drv_common_def.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Led_t Led;
struct Led_t {
    errno_t (*setStatus)(Led *pthis, bool state);
    errno_t (*getStatus)(Led *pthis, bool *state);
    errno_t (*switchLed)(Led *pthis);
    void (*remove)(Led *pthis);
};

Led *GetBoardLed(void);

void SetBoardLed(Led *boardLed);

#ifdef __cplusplus
}
#endif
#endif